package com.market.goods.service;

import com.market.goods.dao.mongo.MarketGoods;
import com.market.goods.dao.mongo.MarketGoodsDetails;
import com.market.goods.dao.mongo.MarketGoodsType;
import com.market.goods.web.vo.QueryMarketGoodsDetailsVO;

import java.util.List;

public interface MongoDbService {
    void insertAll(List<Object> objects);
    void insertMarketGoodsDetailsForMongodb(MarketGoodsDetails marketGoodsDetails);

    MarketGoodsDetails getMarketGoodsById(String s);

    List<MarketGoodsDetails> getMarketGoodsListByShopId(String shopId);

    List<MarketGoodsDetails> getPageMarketGoodsList(QueryMarketGoodsDetailsVO queryMarketGoodsDetailsVO);

    List<MarketGoodsType> getMarketGoodsTypes(MarketGoodsType marketGoodsType);
}
